package cn.blogger.service;

import cn.blogger.base.BaseDao;
import cn.blogger.base.BaseServiceImpl;
import cn.blogger.dao.CategoryDao;
import cn.blogger.pojo.TCategory;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

@Service(interfaceClass = CategoryService.class)
@Transactional
public class CategoryServiceImpl extends BaseServiceImpl<TCategory> implements CategoryService{

    @Autowired
    private CategoryDao categoryDao;

    @Override
    public BaseDao<TCategory> getBaseDao() {
        return categoryDao;
    }
}
